package com.xzgj.fmmall.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "Product对象",description = "商品信息")
public class ProductImg {
    @ApiModelProperty(value = "id",required = false)
    private static final long serialVersionUID = 1L;
    private int id;
    @ApiModelProperty(dataType = "item_id",required = true,value = "商品名称")
    private String item_id;
    @ApiModelProperty(dataType = "url",required = true,value = "图片地址")
    private String url;
    @ApiModelProperty(dataType = "sort",required = true,value = "分类")
    private String sort;
    @ApiModelProperty(dataType = "is_main",required = true,value = "是否是主图")
    private String is_main;
    @ApiModelProperty(dataType = "create_time",required = true,value = "注册时间")
    private Date create_time;
    @ApiModelProperty(dataType = "update_time",required = true,value = "更新时间")
    private Date update_time;
}
